package com.tuton.javanet.chapter02;

import java.io.IOException;
import java.net.Socket;

public class SimpleClient {
	
	private static String host = "localhost";
	private static int port = 8000;
	
	public static void main(String[] args) {
		try{
			Socket socket01 = new Socket(host,port);
			System.out.println("The first time connected was sucessful!!");
			Socket socket02 = new Socket(host,port);
			System.out.println("The second time connected was sucessful!!");
			Socket socket03 = new Socket(host,port);
			System.out.println("The third time connected was sucessful!!");
		}catch(IOException ex) {
			System.out.println("A error was accure when trying to connect to the server for times");
		}
	}

}
